package com.kt.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产线对象 t_product_line
 * 
 * @author lzc
 * @date 2021-01-11
 */
public class ProductLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 产线编号 */
    @Excel(name = "产线编号")
    private String plId;

    /** 产线名称 */
    @Excel(name = "产线名称")
    private String plName;


    private String plcId; //PLC识别号

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 产线图片 */
    @Excel(name = "产线图片")
    private String plImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlId(String plId) 
    {
        this.plId = plId;
    }

    public String getPlId() 
    {
        return plId;
    }
    public void setPlName(String plName) 
    {
        this.plName = plName;
    }

    public String getPlName() 
    {
        return plName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPlImg(String plImg) 
    {
        this.plImg = plImg;
    }

    public String getPlImg() 
    {
        return plImg;
    }

    public String getPlcId() {
        return plcId;
    }

    public void setPlcId(String plcId) {
        this.plcId = plcId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("plId", getPlId())
            .append("plName", getPlName())
            .append("status", getStatus())
            .append("plImg", getPlImg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
